package com.example.demo.service;

import com.example.demo.entity.Orders;

import java.util.List;

/**
 * @author DLX
 * @data 2024/5/31 23:20
 */
public interface OrderService {
    boolean add(Long gid, Long uid, Long addressId, Long num ,String address);

    void update(String status,Long oid);

    List<Orders> getOrderById(Long uid);

    Orders getOrderByOid(Long oid);

    List<Orders> getOrderBySid(Long sid);

    void updateCommit(Integer plusComment,Long orderId);
}
